package com.baizhi.entity;

import java.io.Serializable;
import java.util.Date;

public class Loge implements Serializable {
    private int logeId;
    private int adminId;
    private Date logeDate;
    private String logeContent;
    private String logeType;
    private String logeIp;
    private Admin admin;

    @Override
    public String toString() {
        return "Loge{" +
                "logeId=" + logeId +
                ", adminId=" + adminId +
                ", logeDate=" + logeDate +
                ", logeContent='" + logeContent + '\'' +
                ", logeType='" + logeType + '\'' +
                ", logeIp='" + logeIp + '\'' +
                ", admin=" + admin +
                '}';
    }

    public int getLogeId() {
        return logeId;
    }

    public void setLogeId(int logeId) {
        this.logeId = logeId;
    }

    public int getAdminId() {
        return adminId;
    }

    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }

    public Date getLogeDate() {
        return logeDate;
    }

    public void setLogeDate(Date logeDate) {
        this.logeDate = logeDate;
    }

    public String getLogeContent() {
        return logeContent;
    }

    public void setLogeContent(String logeContent) {
        this.logeContent = logeContent;
    }

    public String getLogeType() {
        return logeType;
    }

    public void setLogeType(String logeType) {
        this.logeType = logeType;
    }

    public String getLogeIp() {
        return logeIp;
    }

    public void setLogeIp(String logeIp) {
        this.logeIp = logeIp;
    }

    public Admin getAdmin() {
        return admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public Loge() {
    }

    public Loge(int logeId, int adminId, Date logeDate, String logeContent, String logeType, String logeIp, Admin admin) {
        this.logeId = logeId;
        this.adminId = adminId;
        this.logeDate = logeDate;
        this.logeContent = logeContent;
        this.logeType = logeType;
        this.logeIp = logeIp;
        this.admin = admin;
    }
}
